package com.rongc.client.freight.business.mine.request.api;


import com.android.volley.Response;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.UniApplication;
import com.rongc.client.freight.base.request.result.UserResult;


/*
*  签到
* */
public class MarkApi extends AbsRequest<MarkApi.MarkParams, UserResult> {

    public MarkApi(MarkParams feedbackParams, Response.Listener<UserResult> listener, Response.ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getMarkUrl(), feedbackParams, listener, errorListener, UserResult.class);
    }

    public static class MarkParams extends BaseParams {

        public MarkParams() {
            put("id", UniApplication.getInstance().getUserInfo().getUserId());
        }
    }
}
